<div class="layui-form" lay-filter="layuiadmin-form-course" style="padding: 20px 30px 0 0;">
    <div class="layui-form-item">
        <label class="layui-form-label">课程编号</label>
        <div class="layui-input-inline">
            <input type="text" name="courseNum" lay-verify="required" placeholder="请输入课程编号" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">课程名称</label>
        <div class="layui-input-inline">
            <input type="text" name="courseName" lay-verify="required" placeholder="请输入课程名称" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">学分</label>
        <div class="layui-input-inline">
            <input type="number" step="0.5" name="courseScore" lay-verify="required|number" placeholder="请输入学分" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">总学时</label>
        <div class="layui-input-inline">
            <input type="number" name="courseTimes" lay-verify="required|number" placeholder="请输入总学时" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">讲授学时</label>
        <div class="layui-input-inline">
            <input type="number" name="courseLtimes" lay-verify="number" placeholder="请输入讲授学时" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label">实践学时</label>
        <div class="layui-input-inline">
            <input type="number" name="courseStimes" lay-verify="number" placeholder="请输入实践学时" autocomplete="off" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item" lay-filter="courseFlag">
        <label class="layui-form-label">状态</label>
        <div class="layui-input-inline">
            <input type="radio" name="courseFlag" value="0" title="启用" checked>
            <input type="radio" name="courseFlag" value="1" title="禁用">
        </div>
    </div>

    <div class="layui-form-item">
        <label class="layui-form-label"></label>
        <div class="layui-input-inline">
            <input type="button" lay-submit lay-filter="LAY-course-add" value="确认" class="layui-btn">
        </div>
    </div>
</div>

<script>
    layui.use(['admin', 'form'], function(){
        var $ = layui.$
            ,form = layui.form;

        form.render();
    });
</script>